﻿


using System;
using System.Text;
using System.Collections;
using System.Xml;
using System.Data;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Resources;
using System.Reflection;
using System.Globalization;
using System.Threading;

using UFSoft.UBF.UI.WebControls;
using UFSoft.UBF.UI.WebControls.InterActionComponenet;
using UFSoft.UBF.Util.Log;
using UFSoft.UBF.Util.Context;

//using MagicAjax.UI.Controls;
using UFSoft.UBF.Report.UI.ReportView.Web;
using UFSoft.UBF.UI.WebControlAdapter;
using UFSoft.UBF.UI.FormProcess;
using UFSoft.UBF.UI.IView;
using UFSoft.UBF.UI.Engine;
using UFSoft.UBF.UI.Engine.Builder;
using UFSoft.UBF.UI.Engine.Authorization;
using UFSoft.UBF.UI.MD.Runtime;
using UFSoft.UBF.UI.ActionProcess;
using UFSoft.UBF.UI.ControlModel;
using UFSoft.UBF.UI.Controls;
using UFSoft.UBF.UI.WebControls.Association;
using UFSoft.UBF.UI.WebControls.ClientCallBack;
using System.Web.UI;
using UFSoft.UBF.UI.UIFormPersonalization;
using System.Collections.Specialized;


/***********************************************************************************************
 * Form ID:76562a63-80cd-4d19-887e-22332f4a06e1 
 * Form Name:MFHSDCreateVoucherUIForm
 * UIFactory Auto Generator
 ***********************************************************************************************/
namespace MF.HSD.MFHSDCreateVoucherUIModel
{
	[FormRegister("MF.HSD.MFHSDProject_UIProject","MF.HSD.MFHSDCreateVoucherUIModel.MFHSDCreateVoucherUIFormWebPart", "MF.HSD.MFHSDProject_UIProject.WebPart", "76562a63-80cd-4d19-887e-22332f4a06e1","WebPart", "False", 688, 464)] 
	///insert into aspnet_Parts (SysVersion, Path, ClassName, [Assembly], FormId) values (0, 'MF.HSD.MFHSDProject_UIProject', 'MF.HSD.MFHSDCreateVoucherUIModel.MFHSDCreateVoucherUIFormWebPart', 'MF.HSD.MFHSDProject_UIProject.WebPart', '76562a63-80cd-4d19-887e-22332f4a06e1')
	///<siteMapNode url="~/erp/simple.aspx?lnk=76562a63-80cd-4d19-887e-22332f4a06e1" title="MFHSDCreateVoucherUIForm"/>
    public partial class MFHSDCreateVoucherUIFormWebPart : UFSoft.UBF.UI.FormProcess.BaseWebForm
    {
		#region Page Controller/Code Behind
        private static readonly ILogger logger = LoggerManager.GetLogger(typeof(MFHSDCreateVoucherUIFormWebPart));
        private string assemblyName = System.Reflection.Assembly.GetExecutingAssembly().FullName;
        //private string displayNamePostfix = "displayName";

		#region 强类型化基类属性.
		public new MFHSDCreateVoucherUIModelAction Action
		{
			get { return (MFHSDCreateVoucherUIModelAction)base.Action; }
			set { base.Action = value; }
		}
		MFHSDCreateVoucherUIModelModel _uimodel=null;
		public new MFHSDCreateVoucherUIModelModel Model
		{
			get 
			{
			     if(_uimodel == null){
			          _uimodel = new MFHSDCreateVoucherUIModelModel();
			     }
			     return _uimodel; 
			}
			set { _uimodel = value; }
		}
        protected override IUIModel UIModel{
            get{
                return this.Model;
            }
            set{
                this.Model = value as MFHSDCreateVoucherUIModelModel;
            }
        }
		#endregion 
		public FormAdjust adjust;
        #region variable declaration
        IUFCard Card0;
        IUFButton BtnOk;
        IUFButton BtnClose;
        IUFCard Card1;
        IUFDataGrid DataGrid0;
		UpdatePanel updatePanel;
		HiddenField wpFindID;
		IUFContainer topLevelPanel;     
        IUFSeparator SeparatorInFavorites;
        IUFButton BtnDefaultValues;
        #endregion
        
        #region constructor
        public MFHSDCreateVoucherUIFormWebPart()
        {
            FormID = "76562a63-80cd-4d19-887e-22332f4a06e1";
            IsAutoSize = bool.Parse("True");
            NewIsAutoSize = bool.Parse("True");
        }
        #endregion


	
            
	//获取档案版型结果: 

        #region eventBind and databind
        private void EventBind()
        {
			//事件绑定模板
				//Button控件事件
			this.BtnOk.Click += new EventHandler(BtnOk_Click);		
						
				//Button控件事件
			this.BtnClose.Click += new EventHandler(BtnClose_Click);		
						

	
			//Grid控件的分页事件				
			((UFWebDataGridAdapter)this.DataGrid0).GridMakePageEventHandler += new GridMakePageDelegate(UFGridDataGrid0_GridMakePageEventHandler);
             //Grid控件的客户化筛选，定位事件
            ((UFWebDataGridAdapter)this.DataGrid0).GridCustomFilterHandler += new GridCustomFilterDelegate(UFGridDataGrid0_GridCustomFilterHandler);

            AfterEventBind();
        }
        #endregion            
        
		#region override method
		protected override void OnLoad(EventArgs e)
		{
			base.OnLoad2(e);
		}
		protected override void OnLoadDataDo(EventArgs e)
		{
		    adjust.ProcessAdjustBeforeOnLoad(this);
			if (UIEngineHelper.IsDataBind(PageStatus, this))
			{
				if(this.Model==null){				        
					this.Model = new MFHSDCreateVoucherUIModelModel();
				}
				OnLoadConsumer(new InParameterModel[]{},new InParameterModel[]{});
				OnLoadData(this);
				this.IsDataBinding = true ; //加载完数据要绑定一次.目前加这.
			}
			else
			{
				//去除.已经移入到OnInit()中.
				//this.Model = (MFHSDCreateVoucherUIModelModel)this.CurrentState[this.TaskId.ToString()];
			}
			adjust.ProcessAdjustAfterOnLoadData(this);
		            AfterOnLoad();
            
            adjust.ProcessAdjustAfterOnLoad(this);
		}
		protected override void OnPreRender(EventArgs e)
		{
			base.OnPreRender2(e);
		}
        protected override void OnPreRenderDo(EventArgs e)
        {
            adjust.ProcessAdjustBeforeOnPreRender(this);
			base.OnPreRender(e);
			this.CurrentState[this.TaskId.ToString()] = this.Model;
			RegisterClearWebPartPadding();
            UFIDA.U9.UI.PDHelper.FormAuthorityHelper.SetWebPartAuthorization(this);
            
			if (IsDataBinding) //2006-9-7 可由开发人员控制
			{
				BeforeUIModelBinding();
								if(!Page.IsPostBack)
				{
					EnumTypeBinding.BindEnumControls(this);
				}
				UFIDA.U9.UI.Commands.CommandHelper.BindFlexData(this);
				adjust.ProcessAdjustBeforeDataBinding(this);
				if (this.IsOnlyDataBinding)
				{
					this.DataBinding();
				}
				adjust.ProcessAdjustAfterDataBinding(this);

				AfterUIModelBinding();
			}
			adjust.ProcessAdjustAfterOnPreRender(this);
        }
		protected override void OnInit(EventArgs e)
		{
			base.OnInit2(e);
		}
		protected override void OnInitDo(EventArgs e)
		{			 
			this.Page.InitComplete += new EventHandler(Page_InitComplete);
			WebPartBuilder.InitWebPart(this);
            this.Action = new MFHSDCreateVoucherUIModelAction(this);
            adjust = new FormAdjust();
		    CreateFormChildControls();
		}
        void Page_InitComplete(object sender, EventArgs e)
        {

            adjust.ProcessInit(this);
        }
        #endregion

      
        
        #endregion

	
		/// <summary>
        /// WebPart View
        /// </summary>
        #region view Create Contorls
        private void CreateFormChildControls()
        {
            IUFContainer _panel = UIControlBuilder.BuildTopLevelContainer(this,"MFHSDCreateVoucherUIForm",true,688,464);
            CommonBuilder.ContainerGridLayoutPropBuilder(_panel, 1, 3, 0, 5, 0, 0, 0, 5);
			InitViewBindingContainer(this, _panel,  null, "", "", null, 1, "");
			UIControlBuilder.BuildContainerGridLayout(_panel, 5,new GridColumnDef[]{new GridColumnDef(686,bool.Parse("False"),"Title"),},new GridRowDef[]{new GridRowDef(0,bool.Parse("True")),new GridRowDef(421,bool.Parse("False")),new GridRowDef(25,bool.Parse("True")),});
            //???还有用么?
            topLevelPanel = _panel;    
            
            UIControlBuilder.BuildCommonControls(this,ref updatePanel,ref wpFindID);
            





	
			_BuilderControl_Card0(_panel);

		
			UIControlBuilder.BuilderUFControl(this.Card0, "3");		


	
			_BuilderControl_Card1(_panel);

		
			UIControlBuilder.BuilderUFControl(this.Card1, "2");		



		
     
			
			
            EventBind();
            AfterCreateChildControls();
            
        }        







	                   
        private IUFCard _BuilderControl_Card0(IUFContainer container)
        {
            IUFCard _UFCard = UIControlBuilder.BuildCard(container,"Card0",false,"FunctionBar", true, true, "3","","aebebe10-a5e2-4d7f-9ad5-0f46e8b72d44");
			CommonBuilder.GridLayoutPropBuilder(container, _UFCard, 686, 25, 0, 2, 1, 1, "100");
            CommonBuilder.ContainerGridLayoutPropBuilder(_UFCard, 16, 1, 0, 5, 10, 3, 10, 2);
			InitViewBindingContainer(this, _UFCard,  null, "", "", null, 1, "");
			UIControlBuilder.BuildContainerGridLayout(_UFCard, 5,new GridColumnDef[]{new GridColumnDef(80,bool.Parse("True"),"Spacing"),new GridColumnDef(10,bool.Parse("True"),"Spacing"),new GridColumnDef(80,bool.Parse("True"),"Spacing"),new GridColumnDef(10,bool.Parse("True"),"Spacing"),new GridColumnDef(80,bool.Parse("True"),"Spacing"),new GridColumnDef(10,bool.Parse("True"),"Spacing"),new GridColumnDef(80,bool.Parse("True"),"Spacing"),new GridColumnDef(10,bool.Parse("True"),"Spacing"),new GridColumnDef(80,bool.Parse("True"),"Spacing"),new GridColumnDef(10,bool.Parse("True"),"Spacing"),new GridColumnDef(35,bool.Parse("True"),"Value"),new GridColumnDef(10,bool.Parse("True"),"Spacing"),new GridColumnDef(80,bool.Parse("True"),"Spacing"),new GridColumnDef(10,bool.Parse("True"),"Spacing"),new GridColumnDef(80,bool.Parse("True"),"Spacing"),new GridColumnDef(1,bool.Parse("False"),"Spacing"),},new GridRowDef[]{new GridRowDef(20,bool.Parse("True")),});
            this.Card0 = _UFCard;

            ///foreach UFCard下的所有控件，增加到此容器





				this.BtnOk = UIControlBuilder.BuilderUFButton(_UFCard, true, "BtnOk", true, true, 80, 20, 12, 0, 1, 1, "100","", this.Model.ElementID,"",false,"626ebf9b-f65a-4dd5-8f32-96f84919878c","626ebf9b-f65a-4dd5-8f32-96f84919878c","ceb95362-bcf9-48d7-a713-b5e4d0e7ace7");
	

		
			UIControlBuilder.BuilderUFControl(this.BtnOk, "6");		


				this.BtnClose = UIControlBuilder.BuilderUFButton(_UFCard, true, "BtnClose", true, true, 80, 20, 14, 0, 1, 1, "100","", this.Model.ElementID,"",false,"020a5365-8f12-4970-b8df-17ce3ae60a68","020a5365-8f12-4970-b8df-17ce3ae60a68","33d7b61e-afdf-43c0-9b0a-21b885dfb4ca");
	

		
			UIControlBuilder.BuilderUFControl(this.BtnClose, "7");		



		

            
            container.Controls.Add(_UFCard);
            return _UFCard;
        }

	                   
        private IUFCard _BuilderControl_Card1(IUFContainer container)
        {
            IUFCard _UFCard = UIControlBuilder.BuildCard(container,"Card1",false,"none", true, true, "2","","6e5a9d40-1c61-460b-a485-b9d55775529a");
			CommonBuilder.GridLayoutPropBuilder(container, _UFCard, 686, 421, 0, 1, 1, 1, "100");
            CommonBuilder.ContainerGridLayoutPropBuilder(_UFCard, 2, 2, 0, 10, 10, 0, 10, 0);
			InitViewBindingContainer(this, _UFCard,  null, "", "", null, 1, "");
			UIControlBuilder.BuildContainerGridLayout(_UFCard, 10,new GridColumnDef[]{new GridColumnDef(665,bool.Parse("True"),"Title"),new GridColumnDef(1,bool.Parse("False"),"Spacing"),},new GridRowDef[]{new GridRowDef(410,bool.Parse("True")),new GridRowDef(1,bool.Parse("False")),});
            this.Card1 = _UFCard;

            ///foreach UFCard下的所有控件，增加到此容器





	
			_BuilderControl_DataGrid0(_UFCard);

		
			UIControlBuilder.BuilderUFControl(this.DataGrid0, "1");		



	

            
            container.Controls.Add(_UFCard);
            return _UFCard;
        }

				





       
        private void _BuilderControl_DataGrid0(IUFContainer container)
        {
            IUFDataGrid _UFGrid = UIControlBuilder.BuildGridControl("DataGrid0", UFSoft.UBF.UI.ControlModel.EditStatus.Edit, false, true,true,true,false,true,20,true, false) ;
  			UIControlBuilder.BuilderUFControl(_UFGrid, "True", "True", "1");
			CommonBuilder.GridLayoutPropBuilder(container, _UFGrid, 665, 421, 0, 0, 1, 2, "100");
			InitViewBindingContainer(this, _UFGrid,  this.Model.SrcVoucherModel, "SrcVoucherModel", "", null, 20, "");
			((UFSoft.UBF.UI.WebControlAdapter.UFWebDataGridAdapter)_UFGrid).PagingStrategy=UFSoft.UBF.UI.ControlModel.GridPagingStrategy.Auto;
			_UFGrid.AllowSelectAllPage=true;
			((UFSoft.UBF.UI.WebControls.UFGrid)_UFGrid).IsSumAllData=true;
		        ((UFSoft.UBF.UI.WebControls.UFGrid)_UFGrid).IsSumSelectedData=false;
            this.DataGrid0 = _UFGrid;
            container.Controls.Add(_UFGrid);
			//Grid所有页全选事件 
			((UFWebDataGridAdapter)this.DataGrid0).GridSelectAllPageHandler +=
				new GridSelectAllPageDelegate(UFIDA.U9.UI.PDHelper.PDListHelper.UFGridDataGrid_GridSelectAllPageDelegate);



			IUFDataGridColumn column ;
			GridColumn gridColumn ;
	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"ID0","NumberColumnModel", "", 0,this.Model.SrcVoucherModel.Fields["ID"]/*ID*/,"ID", true, false, true, false, false, false, 7, 100, "",true, false,"","f5eaa86b-95e6-4bd0-a995-f0aa9fdfcf4d","f5eaa86b-95e6-4bd0-a995-f0aa9fdfcf4d","d4024313-0cf7-41a6-a7c7-f801eca7550b");
			GridControlBuilder.GridNumberColumnBuilder((IUFNumberColumn)column, NumbericType.Numberic, 79228162514264337593543950335m, -79228162514264337593543950335m, null, null, null, null
			,true,"",false,"1","1");
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"SysVersion0","NumberColumnModel", "", 0,this.Model.SrcVoucherModel.Fields["SysVersion"]/*SysVersion*/,"SysVersion", false, false, true, false, false, false, 7, 100, "",true, false,"","d9edcd4b-aaf8-4f5e-80b8-c52c0853c438","d9edcd4b-aaf8-4f5e-80b8-c52c0853c438","da15688c-af3e-40a2-af4f-fedbc8fa8995");
			GridControlBuilder.GridNumberColumnBuilder((IUFNumberColumn)column, NumbericType.Numberic, 79228162514264337593543950335m, -79228162514264337593543950335m, null, null, null, null
			,true,"",false,"1","1");
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"SrcOrgCode0","TextBoxColumnModel", "", 0,this.Model.SrcVoucherModel.Fields["SrcOrgCode"]/*SrcOrgCode*/,"SrcOrgCode", false, false, true, false, false, true, 0, 100, "1000",true, false,"","fda11222-8da5-4764-822c-87eb076e7577","fda11222-8da5-4764-822c-87eb076e7577","88437b16-34bd-435f-b1fa-b33438096528");
         
			GridControlBuilder.GridTextBoxColumnBuilder((IUFTextBoxColumn)column,"",TextAlign.Left, false,"",false,"1","1","1000") ;          
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"SrcOrgName0","TextBoxColumnModel", "", 0,this.Model.SrcVoucherModel.Fields["SrcOrgName"]/*SrcOrgName*/,"SrcOrgName", false, true, true, false, false, true, 0, 100, "1000",true, false,"","5d8b0338-a62e-4acf-9e6f-748b798a00b7","5d8b0338-a62e-4acf-9e6f-748b798a00b7","70fcc05d-d6f9-430a-855e-b70455200cde");
         
			GridControlBuilder.GridTextBoxColumnBuilder((IUFTextBoxColumn)column,"",TextAlign.Left, false,"",false,"1","1","1000") ;          
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"VoucherNo0","TextBoxColumnModel", "", 0,this.Model.SrcVoucherModel.Fields["VoucherNo"]/*VoucherNo*/,"VoucherNo", false, true, true, false, false, true, 0, 140, "1000",true, false,"","e922320f-26bd-4764-b558-c7dc2bcb2423","e922320f-26bd-4764-b558-c7dc2bcb2423","e9734f66-9f6a-411b-8bb7-24ab0a7a43b1");
         
			GridControlBuilder.GridTextBoxColumnBuilder((IUFTextBoxColumn)column,"",TextAlign.Left, false,"",false,"1","1","1000") ;          
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"LineNum0","TextBoxColumnModel", "", 0,this.Model.SrcVoucherModel.Fields["LineNum"]/*LineNum*/,"LineNum", false, true, true, false, false, true, 0, 80, "1000",true, false,"","d084ce89-0842-44e5-81d4-ca6cd55067eb","d084ce89-0842-44e5-81d4-ca6cd55067eb","0353689f-94a7-42b8-912e-b99472da63d3");
         
			GridControlBuilder.GridTextBoxColumnBuilder((IUFTextBoxColumn)column,"",TextAlign.Left, false,"",false,"1","1","1000") ;          
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"Abstracts0","TextBoxColumnModel", "", 0,this.Model.SrcVoucherModel.Fields["Abstracts"]/*Abstracts*/,"Abstracts", false, true, true, false, false, true, 0, 120, "1000",true, false,"","ac41615e-96d8-4601-b7f2-e97ce9322644","ac41615e-96d8-4601-b7f2-e97ce9322644","2b99a0fd-a224-416d-876f-ee3837a8b9ef");
         
			GridControlBuilder.GridTextBoxColumnBuilder((IUFTextBoxColumn)column,"",TextAlign.Left, false,"",false,"1","1","1000") ;          
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"Account0","TextBoxColumnModel", "", 0,this.Model.SrcVoucherModel.Fields["Account"]/*Account*/,"Account", false, true, true, false, false, true, 0, 140, "1000",true, false,"","7b5f25fb-e223-42a7-87d6-2bcb59492265","7b5f25fb-e223-42a7-87d6-2bcb59492265","2c67070a-6a5a-43c8-97fe-1aaf1c29e374");
         
			GridControlBuilder.GridTextBoxColumnBuilder((IUFTextBoxColumn)column,"",TextAlign.Left, false,"",false,"1","1","1000") ;          
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"AccountCode0","TextBoxColumnModel", "", 0,this.Model.SrcVoucherModel.Fields["AccountCode"]/*AccountCode*/,"AccountCode", false, false, true, false, false, true, 0, 100, "1000",true, false,"","9fdc5dd6-e142-4c57-bb9a-ac995292e3ef","9fdc5dd6-e142-4c57-bb9a-ac995292e3ef","54fd06f4-172c-44bb-a60e-76cd0a276ac0");
         
			GridControlBuilder.GridTextBoxColumnBuilder((IUFTextBoxColumn)column,"",TextAlign.Left, false,"",false,"1","1","1000") ;          
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"AccountName0","TextBoxColumnModel", "", 0,this.Model.SrcVoucherModel.Fields["AccountName"]/*AccountName*/,"AccountName", false, true, true, false, false, true, 0, 140, "1000",true, false,"","62f8f9b0-1012-4d19-b00c-ad0d7fe8eeb4","62f8f9b0-1012-4d19-b00c-ad0d7fe8eeb4","cc492975-5317-45b3-9e82-92fef8a66025");
         
			GridControlBuilder.GridTextBoxColumnBuilder((IUFTextBoxColumn)column,"",TextAlign.Left, false,"",false,"1","1","1000") ;          
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"MoneyDr0","NumberColumnModel", "", 2,this.Model.SrcVoucherModel.Fields["MoneyDr"]/*MoneyDr*/,"MoneyDr", false, true, true, false, false, true, 8, 100, "18.0",true, false,"","f9a49039-5ed0-40bb-bbf9-9968ee3a9f4e","f9a49039-5ed0-40bb-bbf9-9968ee3a9f4e","c5b88ee2-b728-4ff7-94fc-c5ffa39704d4");
			GridControlBuilder.GridNumberColumnBuilder((IUFNumberColumn)column, NumbericType.Numberic, 79228162514264337593543950335m, -79228162514264337593543950335m, null, null, null, null
			,true,"",false,"1","1");
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"MoneyCr0","NumberColumnModel", "", 2,this.Model.SrcVoucherModel.Fields["MoneyCr"]/*MoneyCr*/,"MoneyCr", false, true, true, false, false, true, 8, 100, "18.0",true, false,"","6c6db67f-a47f-4c55-9fb1-e2c1af8f0eee","6c6db67f-a47f-4c55-9fb1-e2c1af8f0eee","eb133cde-72eb-42f5-bd45-e0b4b8a14e7a");
			GridControlBuilder.GridNumberColumnBuilder((IUFNumberColumn)column, NumbericType.Numberic, 79228162514264337593543950335m, -79228162514264337593543950335m, null, null, null, null
			,true,"",false,"1","1");
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"SegmentNumber0","TextBoxColumnModel", "", 0,this.Model.SrcVoucherModel.Fields["SegmentNumber"]/*SegmentNumber*/,"SegmentNumber", false, false, true, false, false, true, 0, 100, "50",true, false,"","84e640bc-16f2-4b62-aba9-240a45c9d191","84e640bc-16f2-4b62-aba9-240a45c9d191","67de10f8-4a49-4dbd-b4c7-fd2a9c3714a0");
         
			GridControlBuilder.GridTextBoxColumnBuilder((IUFTextBoxColumn)column,"",TextAlign.Left, false,"",false,"1","1","50") ;          
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"SegmentValue0","TextBoxColumnModel", "", 0,this.Model.SrcVoucherModel.Fields["SegmentValue"]/*SegmentValue*/,"SegmentValue", false, false, true, false, false, true, 0, 100, "50",true, false,"","2bb3ce69-887d-49f0-89e8-9db28558802d","2bb3ce69-887d-49f0-89e8-9db28558802d","4ee1bb85-d8d2-40b1-b361-f3d8b23d7742");
         
			GridControlBuilder.GridTextBoxColumnBuilder((IUFTextBoxColumn)column,"",TextAlign.Left, false,"",false,"1","1","50") ;          
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"ToAccount0","TextBoxColumnModel", "", 0,this.Model.SrcVoucherModel.Fields["ToAccount"]/*ToAccount*/,"ToAccount", false, false, true, false, false, true, 0, 100, "50",true, false,"","0dfbdfcd-3582-4d73-848a-a0424a81db99","0dfbdfcd-3582-4d73-848a-a0424a81db99","21cbf4b4-af8a-45a6-8c0c-dc211863b1b9");
         
			GridControlBuilder.GridTextBoxColumnBuilder((IUFTextBoxColumn)column,"",TextAlign.Left, false,"",false,"1","1","50") ;          
	  
		 
        }





		#endregion
		

	}
}
